package oop3.teacher;

import sun.nio.ch.Net;

public class TestTeacher {
    public static void main(String[] args) {
        JavaTeacher t1 = new JavaTeacher("张三", 32, 10, '男');
        UITeacher t2 = new UITeacher("王丽", 36, 12, '女');
        NetTeacher t3 = new NetTeacher("李四", 50, 25, '男');
        t1.selfIntroduce();
        t1.master();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        t2.selfIntroduce();
        t2.master();
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>");
        t3.selfIntroduce();
        t3.master();
    }
}
